package com.ziyun.pop.common.e.order;


import com.ziyun.pop.common.e.BaseEnum;

/**
 * 支付类型枚举类(图文宝支付方式)
 * @author guizhao
 * @date 2017年11月30日 下午1:47:55
 */
public enum TwbPayTypeEnum implements BaseEnum {

	/**
	 * 1.cash("现金")
	 */
	CASH(1,"cash","现金"),
	/**
	 * 2.alipay("支付宝")
	 */
	ALIPAY(2,"alipay","支付宝"),

	/**
	 * 3.weixin("微信)
	 */
	WEIXIN(3,"weixin","微信"),
	/**
	 * 4.upacp("银联")
	 */
	UPACP(4,"upacp","银联"),
	/**
	 * 4.upacp("银联")
	 */
	CloudPay(5,"cloudpay","云闪付");


	private int id;
	private String code;
	private String describe;

	TwbPayTypeEnum(int id, String code, String describe){
		this.id = id;
		this.code = code;
		this.describe = describe;
	}

	@Override
	public int toInt() {
		return id;
	}

	@Override
	public String toDescribe() {
		return describe;
	}

	@Override
	public String toCode() {
		return code;
	}
}
